<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%-- 登陆 --%>
<logic:notPresent name="userInfo" scope="session">
    <%
        request.getRequestDispatcher("login.jsp").forward(request,response);
     %>
</logic:notPresent>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>人力资源管理系统</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <%-- 自定义CSS样式 --%>
    <link href="mycss/houfei-loading.css" rel="stylesheet" type="text/css" />
    <link href="mycss/houfei-icon.css" rel="stylesheet" type="text/css" />
    
    <%-- Ext必需的js/css文件 --%>
	<link href="resources/css/ext-all.css" rel="stylesheet" type="text/css" />
	<link href="resources/css/file-upload.css" rel="stylesheet" type="text/css" />
	<script language="javascript" src="extjs/ext-base.js"></script>
	<script language="javascript" src="extjs/ext-all.js"></script>
	<script language="javascript" src="extjs/ext-lang-zh_CN.js"></script>
	<script language="javascript" src="extjs/TabCloseMenu.js"></script>
	<script language="javascript" src="extjs/FileUploadField.js"></script>	
	
	<!-- 自定义工具类 -->
	<script type="text/javascript" src="myjs/utils/GridPanelUtils.js"></script>
	<%-- 主页 --%>
	<script type="text/javascript" src="myjs/IndexPage.js"></script>
	<%-- 用户角色模块 --%>
    <script type="text/javascript" src="myjs/userrole/UserRoleGridPanel.js"></script>
    <script type="text/javascript" src="myjs/userrole/UserRoleForm.js"></script>
    <script type="text/javascript" src="myjs/userrole/AddUserRoleWindow.js"></script>
    <script type="text/javascript" src="myjs/userrole/EditUserRoleWindow.js"></script>
    <%--  用户信息模块 --%>
    <script type="text/javascript" src="myjs/userinfo/UserInfoGridPanel.js"></script>
    <script type="text/javascript" src="myjs/userinfo/UserInfoForm.js"></script>
    <script type="text/javascript" src="myjs/userinfo/AddUserInfoWindow.js"></script>
    <script type="text/javascript" src="myjs/userinfo/EditUserInfoWindow.js"></script>
    <script type="text/javascript" src="myjs/userinfo/DispatchUserInfoRole.js"></script>
    <%-- 人员档案信息模块 --%>
    <script type="text/javascript" src="myjs/personfile/UpLoadFileWindow.js"></script>
    <script type="text/javascript" src="myjs/personfile/PersonFileFormPanel.js"></script>
    <script type="text/javascript" src="myjs/personfile/AddPersonFileFormPanel.js"></script>
    <script type="text/javascript" src="myjs/personfile/CheckPersonFileWindow.js"></script>
    <script type="text/javascript" src="myjs/personfile/EditPersonFileGridPanel.js"></script>
    <script type="text/javascript" src="myjs/personfile/EditPersonFileWindow.js"></script>
    <script type="text/javascript" src="myjs/personfile/DeletePersonFileGridPanel.js"></script>
    
    <%-- 数据字典模块 --%>
    <script type="text/javascript" src="myjs/hrmconfig/DictionaryDataGridPanel.js"></script>
    <script type="text/javascript" src="myjs/hrmconfig/DictionaryDataFormPanel.js"></script>
    <script type="text/javascript" src="myjs/hrmconfig/AddDictionaryDataWindow.js"></script>
    <script type="text/javascript" src="myjs/hrmconfig/EditDictionaryDataWindow.js"></script>
    
    <%-- 薪酬标准管理模块 --%>
    <script type="text/javascript" src="myjs/moneystandard/AddMoneyStandardFormPanel.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/AddMoneyStandardEditGrid.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/AddMoneyStandardPanel.js"></script>
    <%-- 薪酬标准审核 --%>
    <script type="text/javascript" src="myjs/moneystandard/MoneyStandardGridPanel.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/CheckMoneyStandardFormPanel.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/CheckMoneyStandardWindow.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/CheckMoneyStandardMoneyItemsGridPanel.js"></script>
    <%-- 薪酬标准编辑 --%>
    <script type="text/javascript" src="myjs/moneystandard/EditMoneyStandardWindow.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/EditMoneyStandardFormPanel.js"></script>
    <script type="text/javascript" src="myjs/moneystandard/EditMoneyStandardEditGridPanel.js"></script>
    
    <%-- 薪酬发放管理 --%>
    <script type="text/javascript" src="myjs/moneypayment/AddMoneyPaymentFormPanel.js"></script>
    <script type="text/javascript" src="myjs/moneypayment/CheckMoneyPaymentFormPanel.js"></script>
    <script type="text/javascript" src="myjs/moneypayment/CheckMoneyPaymentWindow.js"></script>
    <script type="text/javascript" src="myjs/moneypayment/MoneyPaymentGridPanel.js"></script>
    
    <!-- 员工调动管理 -->
    <script type="text/javascript" src="myjs/jobchange/JobChangeFormPanel.js"></script>
    <script type="text/javascript" src="myjs/jobchange/CheckJobChangeFormPanel.js"></script>
    <script type="text/javascript" src="myjs/jobchange/CheckJobChangeWindow.js"></script>
    <script type="text/javascript" src="myjs/jobchange/JobChangeGridPanel.js"></script>
    
    <!-- 职位发布管理 -->
    <script type="text/javascript" src="myjs/enginforelease/CheckEngInfoReLeaseWindow.js"></script>
    <script type="text/javascript" src="myjs/enginforelease/AddEngInfoReLeaseWindow.js"></script>
    <script type="text/javascript" src="myjs/enginforelease/EngInfoReLeaseGridPanel.js"></script>
    
    
    
    
    
	<script type="text/javascript">
	  Ext.onReady(function(){
           <%-- 加载效果 --%>
			setTimeout(function() {
				Ext.get('loading').remove();
				Ext.get('loading-mask').fadeOut({remove:true});
			}, 1000); 
	       <%-- 开启提示 --%>
	        Ext.QuickTips.init() ;
			Ext.form.Field.prototype.msgTarget = "side" ;
			<%-- 实例化主页 --%>
		    var _index= new IndexPage();
		    <%-- 窗体大小改变延时事件 --%>
	        window.onresize=function(){
	        <%-- 过100毫秒在执行  --%>
	        setTimeout(_index.onActiveTabSize,100);
	        };
	  });
	</script>
  </head>
  
  <body>
         <div id="loading">
             <div  class="loading-indicator">
                  <img src="images/extanim32.gif" alt="" width="32" height="32" style="margin-right:8px;" align="absmiddle"/>
         正在加载,请稍候......
             </div>
         </div>
         <div id="loading-mask">
         </div>
  </body>
</html>
